import UIKit

class TestViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let label = UILabel(frame: CGRect(x: 20, y: 100, width: 200, height: 30))
        label.text = "Hello, iOS! -- Test页面"
        label.textColor = .black
        view.addSubview(label)
        
        view.backgroundColor = .systemYellow // 修改颜色以区分页面
        title = "测试页面" // 设置导航栏标题
        
        print("TestViewController 加载完成")
    }
}
